package com.sh.test_one.bean;

public class ListItem {
    private String title;
    private String details;
    private String times;
    private boolean isSelected;
    private int pic;

    public int getPic() {
        return pic;
    }

    public void setPic(int pic) {
        this.pic = pic;
    }


    public ListItem(String title, String details, String times, int pic) {
        this.title = title;
        this.details = details;
        this.times = times;
        this.pic = pic;
    }
    public ListItem(String title, String details, String times) {
        this.title = title;
        this.details = details;
        this.times = times;
        this.isSelected = false; // 默认未选中
    }

    public String getTitle() {
        return title;
    }

    public String getDetails() {
        return details;
    }

    public String getTimes() {
        return times;
    }

    public boolean isSelected() {
        return isSelected;
    }

    public void setSelected(boolean isSelected) {
        this.isSelected = isSelected;
    }
}